#!/bin/bash
current_date=`date +%Y%m%d%H%M%S`
mkdir logs/$current_date
mv err_*.txt logs/$current_date
mv log_*.txt logs/$current_date
mv msg_*.txt logs/$current_date

echo "starting wmain..."
./build/wmain &
sleep 5s
echo "starting wmysql..."
./build/wmysql &
sleep 5s
echo "starting wsocket..."
./build/wsocket &
